﻿using ProTrack.Entity;
using System;
using System.Collections.Generic;
using System.Text;
using System.Threading.Tasks;

namespace ProTrack.IRepository.WareHouse
{
    public  interface IOrderReturnRepository
    {
        /// <summary>
        /// 新增客户退货表
        /// </summary>
        /// <param name="model"></param>
        /// <param name="list"></param>
        /// <returns></returns>
        public Task<bool> AddOrderReturn(OrderReturn model, List<OrderReturnItem> list);

        /// <summary>
        /// 修改客户退货表
        /// </summary>
        /// <param name="model"></param>
        /// <param name="list"></param>
        /// <returns></returns>
        public Task<bool> UpdateOrderReturn(OrderReturn model, List<OrderReturnItem> list);


        /// <summary>
        /// 批量删除
        /// </summary>
        /// <param name="Ids"></param>
        /// <returns></returns>
        public Task<bool> DeleteOrderReturn(int[] Ids);
    }
}
